package cn.alpha.open.autocode.model;

import java.util.List;

public class TableMeta {
	
	private String tableName;
	private String tableComment;
	private boolean hasSinglePK;
	private ColumnMeta pkColumn;
	private List<ColumnMeta> columnMetas;

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

	public boolean isHasSinglePK() {
		return hasSinglePK;
	}

	public void setHasSinglePK(boolean hasSinglePK) {
		this.hasSinglePK = hasSinglePK;
	}

	public List<ColumnMeta> getColumnMetas() {
		return columnMetas;
	}

	public void setColumnMetas(List<ColumnMeta> columnMetas) {
		this.columnMetas = columnMetas;
	}

	public ColumnMeta getPkColumn() {
		return pkColumn;
	}

	public void setPkColumn(ColumnMeta pkColumn) {
		this.pkColumn = pkColumn;
	}

}
